string = input("请输入字符串：")

strLen = len(string)
for index in range(0,strLen):
    if string[index] in string[index+1:]:
        continue
    else:
        print(string[index])
        break


